#pragma once
#include "mtpMessage.h"
#include <list>
#include <rapidjson/document.h>
#include "playRecord.h"

class QueryPlayRecordResMessage : public MtpMessage
{
public:
	QueryPlayRecordResMessage(MtpProtocol* packet);
	QueryPlayRecordResMessage(MtpMessage* src);
	virtual ~QueryPlayRecordResMessage();
	void fromJson(const std::wstring& json);
	virtual void decodeBody();
	virtual void encodeBody();
private:
	std::list<PlayRecord*> playRecords;
};

